package com.blb.service.impl;

import com.blb.mapper.PendingOrderMapper;
import com.blb.service.IPendingOrderService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
import java.util.Map;

@Service
public class PendingOrderServiceImpl implements IPendingOrderService {
    @Resource
    private PendingOrderMapper pendingOrderMapper;

    /**
     * 查询出所有的待生产订单
     * @return
     */
    @Override
    public List<Map<String, Object>> getAllPendingOrder() {
        return pendingOrderMapper.getAllPendingOrder();
    }
}
